//
//  LMHomeListCell.m
//  EPA
//
//  Created by lanou3g on 16/4/20.
//  Copyright © 2016年 liman. All rights reserved.
//

#import "LMHomeListCell.h"
#import "UIImageView+WebCache.h"
@implementation LMHomeListCell

- (void)awakeFromNib {

}
- (void)setModel:(LMHomeListModel *)model{
    if (_model != model) {
        _model = model;
    }
}
-(void)layoutSubviews{
    _nameLabel.text = self.model.name;
    _titleLabel.text = _model.title;
    _contentLabel.text = _model.content;
    NSURL *url =[NSURL URLWithString:_model.coverimg];

    [_iconImageView sd_setImageWithURL:url];
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

}

@end
